package com.genghis.rapidcrm.kernel.module;

public class RapidModuleBasic {

    /**
     * ID of this instance
     */
    private Integer id;
    private String name;
    private String label;
    private Integer version = 0;
    private String minVersion;
    private String maxVersion;

    private Integer presence = 0;
    // 0 - Sharing Access Enabled, 1 - Sharing Access Disabled
    private Integer ownedBy = 0;
    private Integer tabSequence;
    private String parent;
    private Integer customized = 0;
    private Integer trial = 0;

    // Real module or an extension?
    protected String isEntityType = "1";

    private String entityIdColumn;
    private String entityIdField;

    private String baseTable;
    private String baseTableId;
    private String customTable;
    private String groupTable;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getMinVersion() {
        return minVersion;
    }

    public void setMinVersion(String minVersion) {
        this.minVersion = minVersion;
    }

    public String getMaxVersion() {
        return maxVersion;
    }

    public void setMaxVersion(String maxVersion) {
        this.maxVersion = maxVersion;
    }

    public Integer getPresence() {
        return presence;
    }

    public void setPresence(Integer presence) {
        this.presence = presence;
    }

    public Integer getOwnedBy() {
        return ownedBy;
    }

    public void setOwnedBy(Integer ownedBy) {
        this.ownedBy = ownedBy;
    }

    public Integer getTabSequence() {
        return tabSequence;
    }

    public void setTabSequence(Integer tabSequence) {
        this.tabSequence = tabSequence;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public Integer getCustomized() {
        return customized;
    }

    public void setCustomized(Integer customized) {
        this.customized = customized;
    }

    public Integer getTrial() {
        return trial;
    }

    public void setTrial(Integer trial) {
        this.trial = trial;
    }

    public String getEntityType() {
        return isEntityType;
    }

    public void setEntityType(String entityType) {
        isEntityType = entityType;
    }

    public String getEntityIdColumn() {
        return entityIdColumn;
    }

    public void setEntityIdColumn(String entityIdColumn) {
        this.entityIdColumn = entityIdColumn;
    }

    public String getEntityIdField() {
        return entityIdField;
    }

    public void setEntityIdField(String entityIdField) {
        this.entityIdField = entityIdField;
    }

    public String getBaseTable() {
        return baseTable;
    }

    public void setBaseTable(String baseTable) {
        this.baseTable = baseTable;
    }

    public String getBaseTableId() {
        return baseTableId;
    }

    public void setBaseTableId(String baseTableId) {
        this.baseTableId = baseTableId;
    }

    public String getCustomTable() {
        return customTable;
    }

    public void setCustomTable(String customTable) {
        this.customTable = customTable;
    }

    public String getGroupTable() {
        return groupTable;
    }

    public void setGroupTable(String groupTable) {
        this.groupTable = groupTable;
    }
}
